package com.yunxi.otd.service;

import com.yunxi.core.web.ApiResult;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.otd.pojo.OtdIfProducePlanVO;
import java.util.List;

/**
 * <p>
 * 周度需求计划审核 服务类
 * </p>
 *
 * @author XUQI
 * @since 2019-05-09
 */
public interface OtdWeekPlanAuditDubboService {

    List<OtdIfProducePlanVO> findIfPlanListByWeek(String year, String month, String week);

    /**
     * 下发周生产计划
     * @param weekPlanId id
     */
    ApiResult sendWeekPlan(String weekPlanId);

    ApiResult addIfPlan(OtdIfProducePlanVO planVO, LoginInfo user);

    ApiResult removeIfPlan(String ifPlanId);

    ApiResult modifyIfPlan(OtdIfProducePlanVO planVO, LoginInfo user);

}
